package com.zhxt.system.service.impl;

import com.zhxt.system.domain.ZhxtAbout;
import com.zhxt.system.mapper.AboutMapper;
import com.zhxt.system.service.IAboutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * 公司简介 服务实现
 */
@Service
public class AboutServiceImpl implements IAboutService {
    @Autowired
    private AboutMapper aboutMapper;
    /**
     * 查询公司简介列表
     */
    public List<ZhxtAbout> getAboutList(){
        return aboutMapper.getAboutList()==null?new ArrayList<>():aboutMapper.getAboutList();
    }
}
